import Vue from 'vue'
import Router from 'vue-router'
//import HelloWorld from '../components/HelloWorld'
//import MainFrame from '../components/MainFrame'
// import ContentMain from '../components/ContentMain'
// import ContentMain from '../modules/documents/components/ContentMain'
import Register from '../modules/index/components/Register'
import Login from '../modules/index/components/Login'
import Dashboard from '../modules/index/components/Dashboard'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      redirect: '/login'
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/dashboard',
      name: 'Dashboard',
      component: Dashboard
    }
  ]
})
